package com.tengju.user.infrastructure.persistence.mybatis.mapper.dealer.custom;

import com.tengju.user.infrastructure.persistence.mybatis.dataobject.StarContractInfoDO;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

public interface StarContractInfoDOCustomMapper {

    StarContractInfoDO selectByIdCodeAndType(@Param("idCode") Long idCode,
                                             @Param("contractType") Integer contractType);

    void update(StarContractInfoDO starContractInfoDO);


    int countByIdCodeStatus(@Param("idCode") Long idCode,
                                             @Param("contractStatus") Integer contractStatus);

}